import request from "@/utils/request";

export const getUserInfo = () => request.get('/')

export const login = (data) => request.post("/login", data)

export const register = data => request.post('/register', data)